[package]
name = "readlaterbot"
version = "0.1.0"
authors = ["Orin Serimon <orin220444@protonmail.com>"]
edition = "2021"
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
dotenv = "0.15.0"
rand = "0.8"
log = "0.4"
pretty_env_logger = "0.4"
tokio-stream = "0.1.5"
typed-builder = "0.9.0"
chrono = "0.4"
anyhow = "1.0"
futures = "*"
serde_json = "1"
thiserror = "1"

[dependencies.serde]
version = "*"
features = ["derive"]

[dependencies.mongodb]
version = "2.0.0"
default-features = false
features = [
    "tokio-runtime", 
    "bson-uuid-0_8", 
    "bson-chrono-0_4",
    "zstd-compression"
    ]

[dependencies.teloxide]
version = "0.7"
default-features = false
features = ["macros", "auto-send", "ctrlc_handler", "dispatching2", "cache-me"]

[dependencies.tokio]
version =  "1.4"
features = ["rt-multi-thread", "macros"]

[dependencies.reqwest]
version = "0.11"
default-features = false
features = ["rustls-tls"]

[dependencies.uuid]
version = "0.8"
features = ["serde", "v4"]

[dependencies.url] 
version = "2"
features = ["serde"]

[profile.release]
lto = "thin"
